<?php
// +----------------------------------------------------------------------
// | Copyright (c) 2023 yoncron All rights reserved.
// +----------------------------------------------------------------------
// | Author: yoncron <yoncron@163.com>
// +----------------------------------------------------------------------
namespace app\service;

use Webman\RedisQueue\Client;

class Async
{
    public static function Do($class,$method,$args){
        Client::connection('async')->send('async_queue',['class'=>$class,'method'=>$method,'args'=>$args]);
    }
}